package com.koron.order.common.service;

import com.github.pagehelper.PageInfo;
import com.koron.bean.query.PageQuery;
import com.koron.order.common.bean.po.OrderAllPo;
import com.koron.order.common.bean.query.OrderAllQuery;
import com.koron.order.common.bean.query.OrderNoMergeQuery;
import com.koron.order.common.bean.vo.MonthTaskVo;
import com.koron.order.common.bean.vo.OrderAllVo;
import com.koron.order.common.bean.vo.OrderNoMergeVo;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;
import java.util.Map;

/**
 * (OrderAll)表服务接口
 *
 * @author zhouj
 * @since 2021-10-13 16:52:33
 */
public interface OrderAllService {

    OrderAllPo queryById(SessionFactory factory, String id);

    PageInfo<OrderAllVo> queryPageList(SessionFactory factory, OrderAllQuery query, PageQuery pageQuery);

    List<OrderAllPo> queryList(SessionFactory factory, OrderAllQuery query);

    PageInfo<OrderNoMergeVo> queryPageListNoMerge(SessionFactory factory, OrderNoMergeQuery query, PageQuery pageQuery);

    List<OrderNoMergeVo> queryListNoMerge(SessionFactory factory, OrderNoMergeQuery query);

    List<MonthTaskVo> queryMonthTaskList(SessionFactory factory, OrderAllQuery query);

    Map<String, List<OrderAllPo>> queryDayTaskList(SessionFactory factory, OrderAllQuery query);

}
